package com.eric.ztea.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.eric.ztea.domain.City;

public interface CityRepository extends JpaRepository<City, Long>{
	
	City findById(Long id);
	
	City findByName(String name);
}
